﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Core.Members
{
    [Serializable]
    public class MemberCacheItem 
    {
        public Guid MemberID { get; set; }

        /// <summary>
        /// 登陆账号
        /// </summary>
        [StringLength(Member.MaxLoginNameLength)]
        public string LoginName { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        [StringLength(Member.MaxEmailLength)]
        public string Email { get; set; }

        //校验
        public string VerificationCode { get; set; }

        public bool IsPersistent { get; set; }
    }
}
